<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>window的使用</title>
		<script type="text/javascript" src="../js/jquery-1.8.3.js" ></script>
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js" ></script>
		<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js" ></script>
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="../js/easyui/themes/icon.css" />
		<!-- 引入ztree -->
		<script src="../js/ztree/jquery.ztree.all-3.5.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="../js/ztree/zTreeStyle.css"/>
		<script type="text/javascript">
			$(function(){
			var value = $('#p').progressbar('getValue'); 

if (value < 100){ 

value += Math.floor(Math.random() * 10); 

$('#p').progressbar('setValue', value); 

} 


			})



		</script>
	</head>
	<body>

<div id="p" class="easyui-progressbar" data-options="value:60" style="width:400px;"></div> 

	</body>
</html>
